* {
    margin: 0;
    padding: 0;
    user-select: none;
}

body {
    overflow: hidden
}
ul li{
    list-style: none;
}
#drawing_board {
    position: absolute;
    display: block;
    cursor: pointer;
}

.color-group {
    position: fixed;
    width: 30px;
    left: 35px;
    top: 50%;
    transform: translate(0, -150px);
    z-index: 99;
}

.color-group ul {
    list-style: none;
}

.color-group ul li {
    width: 30px;
    height: 30px;
    margin: 10px 0;
    border-radius: 50%;
    box-sizing: border-box;
    border: 3px solid white;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.color-group ul li.active {
    box-shadow: 0 0 15px #00CCFF;
}



@media screen and (max-width: 768px) {
    .tools {
        bottom: auto;
        top: 20px;
    }

    .tools button {
        width: 35px;
        height: 35px;
        line-height: 35px;
        margin-bottom: 15px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }

    .tools button.active, .tools button:active {
        box-shadow: 0 0 5px #00CCFF;
    }

    .tools button i {
        font-size: 18px;
    }

    .tools #swatches {
        display: none
    }

    .color-group {
        left: 0;
        top: auto;
        bottom: 20px;
        display: flex;
        width: 100%;
        justify-content: center;
        text-align: center;
        transform: translate(0, 0);
        z-index: 99;
    }

    .color-group ul li {
        display: inline-block;
        margin: 0 5px;
    }

    .color-group ul li.active {
        box-shadow: 0 0 10px #00CCFF;
    }

    #range_wrap {
        right: auto;
        left: 20px;
    }
}

.main {
    position: relative;
    width: 100%;
    height: 100vh;
    transform-origin: 0 0;
}

.main .draw {
    position: absolute;
    z-index: 9;
    left: 0;
    top: 0;
    
}
canvas{
    transform-origin: 0 0;
}
.click-read {
    width: 100%;
    height: 100vh;
    position: absolute;
    z-index: 1;
}
.insert-img{
    width: 100%;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}
.container {
    /*position: absolute;*/
    /*width: 100%;*/
    /*height: 100%;*/
}

.click-read-all {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.click-read-all > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.click-read-all > div img {
    cursor: pointer;
    height: 0;
}



.video-play{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #000000;
    
    display: none;
}

#hide_video{
    position: absolute;
    right: 35px;
   bottom: 80px;
    font-size: 26px;
    cursor: pointer;
    z-index: 99999;
    color: #ffffff;
}

#example_video{
    width: 100%;
    height: 100%;
}
.external-img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #999999;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}
#hide_img{
    position: absolute;
    right: 50px;
   bottom: 50px;
    font-size: 26px;
    cursor: pointer;
    z-index: 99999;
    color: #ffffff;
    width: 50px;
    height: 50px;
}
#hide_img img{
    width: 100%;
    height: 100%;
}
#example_img{
    /* width: 100%;
    height: 100%; 
    margin: 0 auto; */
    /* height: 100%;  */
}
.red-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: red;
    z-index: 99;
    position: absolute;
    display: none;
    cursor: pointer;
    animation: scaleObject 1s   linear;
    animation-iteration-count:3;
   opacity: 0;
}

@-webkit-keyframes scaleObject {
    0%{
        background-color: red;
       
        opacity: 1;
    }
    100% {
        transform: scale(5);
        opacity: 0;
        background-color: transparent;
    }
}



/*加载*/
.loading {
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
}

.sk-fading-circle {
    margin: 40px auto;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;
}

.sk-fading-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sk-fading-circle .sk-circle:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: #FFF;
    border-radius: 100%;
    -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
    animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}

.sk-fading-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.sk-fading-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.sk-fading-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sk-fading-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.sk-fading-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.sk-fading-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sk-fading-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.sk-fading-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.sk-fading-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.sk-fading-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.sk-fading-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

.sk-fading-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-fading-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-fading-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-fading-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.sk-fading-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.sk-fading-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.sk-fading-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.sk-fading-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.sk-fading-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.sk-fading-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.sk-fading-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}

@keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}
/* 新加开始 */
.tools-btn-left{
    width: 20px;
    height: 540px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 0px 8px 0px rgba(65,124,233,0.30); 
    position: fixed;
    left: 10px;
    bottom:20px;
    z-index: 1000;
    display: none;
    cursor: pointer;

}
.tools-btn-left #open_left{
width: 100%;
height: 100%;
border: none;
background-color: transparent;

}
.tools-btn-left #open_left i{
    font-size: 20px;
    text-align: center;
    line-height:540px ;
    color: #417CE9;
}
.tools-btn-right {
    width: 20px;
    height: 540px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 0px 8px 0px rgba(65,124,233,0.30); 
    position: fixed;
    right: 10px;
    bottom:20px;
    z-index: 1000;
    cursor: pointer;
}
.tools-btn-right #open_right{
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
    
    }
    .tools-btn-right #open_right i{
        font-size: 20px;
        text-align: center;
        line-height:540px ;
        color: #417CE9;
    }
.bar{
    width: 540px;
    height: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 0px 8px 0px rgba(65,124,233,0.30); 
    position: fixed;
    left: calc(50% - 270px);
bottom: 12px;
text-align: center;
z-index: 1000;
display: none;
cursor: pointer;

}
.bar #bar_btn {
    -webkit-transform: rotateZ(90deg);
    -ms-transform: rotateZ(90deg);
    transform: rotateZ(90deg);
    border: none;
    background-color: transparent;
    margin: 0 auto;
    
}
.bar #bar_btn i{
    font-size: 20px;
    color: #417CE9;
}
/* 样式 */
.tools{
    width: 180px;
    height: 450px;
    border-radius: 10px;
    box-shadow: 0px 0px 8px 0px rgba(65,124,233,0.30);
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 1001;
    display: flex;
    flex-wrap: wrap;
}
.tools button{
    width: 90px;
height: 90px;
background: #ffffff;
border: 1px solid #ffffff;
color: #203b4d;
cursor: pointer;
}

.tools button:nth-child(1){
    border-radius: 10px 0px 0px 0px;
}
.tools button:nth-child(2){
    border-radius: 0px 10px 0px 0px;
}
.tools button:nth-child(11){
    border-radius: 0px 0px 0px 10px;
}
.tools button:nth-child(12){
    border-radius: 0px 0px 10px 0px;
}
.tools button:hover{
    background-color: #f4f7fb;
}

.tools button.active{
    background-color: #417ce9 !important;
    color: #fff;
}

.tools button i{
    font-size: 28px;
   
    display: block;
    /* margin-top: 18px; */
}
.tools button span{
    font-size: 12px;
font-family: PingFang SC, PingFang SC-Medium;
font-weight: 500;
text-align: center;

line-height: 12px;
display: block;
margin-bottom: 18px;
margin-top: 11px;
/* margin-top: 11px; */

}
/* 选择画笔 */
.select-brush{
    width: 407px;
height: 360px;
background: #ffffff;
border-radius: 10px;
box-shadow: 0px 0px 8px 0px rgba(65,124,233,0.30); 
position: fixed;
left: 192px;
bottom: 100px;
display: flex;
z-index: 1001;
display: none;
}
.select-brush .brush-type{
    width: 90px;
    height: 100%;
    border-radius: 0px 0px 10px 10px;

}
.select-brush .brush-type button{
    width: 90px;
    height: 90px;
  cursor: pointer;
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #203b4d;
}
.select-brush .brush-type button:hover{
    background-color: #f4f7fb;
}
.select-brush .brush-type button i{
    font-size: 28px;
    display: block;
}
.select-brush .brush-type button span{
    font-size: 12px;
font-family: PingFang SC, PingFang SC-Medium;
font-weight: 500;
text-align: center;
line-height: 12px;
display: block;
margin-bottom: 18px;
margin-top: 11px;

}


.select-brush .brush-type button.active{
    color: #417ce9 !important;
}

/*  */
.select-brush .brush-color{
    margin: 6px 0px 6px 0px;
    flex: 1;
    height: calc(100% - 12px);
    background-color:#f4f7fb ;
}
.select-brush .brush-weigth{
    width: 68px;
    height: 100%;
    position: relative;
}
.brush-color ul{
    width: 100%;
    height: 100%;
    padding: 32px 20px;
    
}
.brush-color ul li{
    width: 59px;
    height: 59px;
    border-radius: 50%;
    float: left;
    margin-bottom: 16px;
    margin-right: 16px;
    text-align: center;
    color: transparent;

}
.brush-color ul li span{
    line-height: 59px;
    font-size: 24px;
    font-weight: 700;
}
.brush-color ul li.active{
    color: #fff !important;
}

/*  */

.brush-weigth .select-color{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #5489ea;
    margin: 0 auto;
    margin-top: 10px;
}
.brush-weigth .select-color #select_color_now{
    width: 16px;
height: 16px;
border-radius: 50%;
margin: 0 auto;
margin-top: calc(50% - 8px);
}
.brush-weigth .range-wrap{
    position: absolute;
    left: 0%;
    top: 58px;
    width: 248px;
    margin-right: 28px;
}
.brush-weigth .range-wrap input {
    width: 100%;
    height: 10px;
    /* background: #e7ecf1; */
    background-color: transparent;
    border-radius: 10px;
    -webkit-appearance: none;
    outline: none;
    position: relative;
    transform: rotate(-90deg);
    position: absolute;
   left: -90px;
   top: 155px;
   z-index: 1;
}
.range-wrap #range_shadow{
    width: 100%;
    height: 10px;
    background: #e7ecf1;
    border-radius: 10px;
    -webkit-appearance: none;
    outline: none;
    position: relative;
    transform: rotate(-90deg);
    position: absolute;
   left: -90px;
   top: 155px;
}
.brush-weigth .range-wrap #range_con{
    width: 10px;
    height: 10px;
    border-radius: 10px;
    position: absolute;
    left: 29px;
    bottom:-284px;
    background: #417ce9;

}

.brush-weigth input[type=range]::-webkit-slider-thumb, .brush_weigth input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
}

.brush-weigth input[type=range]::-webkit-slider-runnable-track, .brush_weigth input[type=range]::-moz-range-track {
    height: 10px;
    border-radius: 10px;
    box-shadow: none;
}

.brush-weigth input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 30px;
    width: 30px;
    background: #417ce9;
    border: 1px solid #ffffff;
    border-radius: 50%;
    position: relative;
    z-index: 999;
}
/* 橡皮 */
.select-eraser{
    width: 90px;
    height: 180px;
    position: fixed;
    left: 192px;
    bottom: 190px;
    border-radius: 10px;
box-shadow: 0px 0px 8px 0px rgba(65,124,233,0.30); 
z-index: 1001;
background-color: #fff;
display: none;
}
.select-eraser button{
    width: 90px;
height: 90px;
background: #ffffff;
border: 1px solid #ffffff;
color:#203b4d ;
cursor: pointer;
}
.select-eraser button.active{
    color: #417ce9 !important;
}
.select-eraser button i{
    font-size: 28px;
    display: block;
}
.select-eraser button:hover{
    /* color: #417ce9; */
    background-color: #f4f7fb;
}
.select-eraser button span{
    font-size: 12px;
font-family: PingFang SC, PingFang SC-Medium;
font-weight: 500;
text-align: center;
line-height: 12px;
display: block;
margin-bottom: 18px;
margin-top: 11px;
/* margin-top: 11px; */

}
.select-eraser button:nth-child(1){
    border-radius: 10px 10px 0px 0px;
}
.select-eraser button:nth-child(2){
    border-radius: 0px 0px 10px 10px;
}

/* 选择 */
.select-choose{
    position: absolute;
    left: 192px;
    bottom: 100px;
   
    z-index: 1001;
    display: none;
}
.select-choose .select-choose-top{
    box-shadow: 0px 0px 8px 0px rgba(65,124,233,0.30); 
    background-color: #fff;
    width: 360px;
}
.select-choose .select-choose-top button{
    float: left;
}
.select-choose .select-choose-bottom{
    box-shadow: 0px 0px 8px 0px rgba(65,124,233,0.30); 
    /* background-color: #fff; */
}
.select-choose button{
    width: 90px;
    height: 90px;
    /* opacity: 0.6; */
    background: #ffffff;
    border: 1px solid #ffffff;
    color:#203b4d ;
 
}
.select-choose button i{
    display: block;
}
.select-choose button span{
    display: block;
}

/* 图片进度条 */
.img-range-wrap-pagin{
    width: calc(100% - 552px);
    height: 50px;
    
    position: fixed;
    left: 276px;
    bottom: 14px;
    z-index: 1001;
    display: flex;
    display: none;
    cursor: pointer;
}
.img-range-wrap{
    width: calc(100% - 238px);
    position: absolute;
    bottom: 0;
    margin-right: 28px;
    height: 50px;
    /* background-color: red; */
}
.img-range-wrap-pagin .img-range-wrap input {
    width: 100%;
    height: 10px;
    background: transparent;
    border-radius: 10px;
    -webkit-appearance: none;
    outline: none;
    position: relative;
    /* transform: rotate(-90deg); */
    position: absolute;
   left: 0px;
   top: 20px;
   cursor: pointer;
   z-index: 1;
}
.img-range-wrap #img_range_shadow{
    width: 100%;
    height: 10px;
    background: #e7ecf1;
    border-radius: 10px;
    outline: none;
    position: relative;
    /* transform: rotate(-90deg); */
    position: absolute;
   left: 0px;
   top: 20px;
   cursor: pointer;
}

.img-range-wrap-pagin .img-range-wrap #img_range_con{
    width: 0;
    height: 10px;
    border-radius: 10px;
    position: absolute;
    left: 0px;
   top: 20px;
    background-color: #417ce9;
}

.img-range-wrap input[type=range]::-webkit-slider-thumb, .img-range-wrap input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
}

.img-range-wrap input[type=range]::-webkit-slider-runnable-track, .img-range-wrap input[type=range]::-moz-range-track {
    height: 10px;
    border-radius: 10px;
    box-shadow: none;
}

.img-range-wrap input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 30px;
    width: 30px;
    background: #417ce9;
    border: 1px solid #ffffff;
    border-radius: 50%;
    position: relative;
    z-index: 999;
}
.img-pagin{
    position: absolute;
    right: 0;
    width: 210px;
    bottom: 8px;
}
.img-pagin span{
    font-size: 14px;
    color: #203b4d;
    font-family: PingFang SC, PingFang SC-Bold;
    margin-right: 8px;
   
}
.img-pagin input{
    width: 48px;
height: 26px;
background: #ffffff;
border: 2px solid #417ce9;
border-radius: 10px;
}
.img-pagin button{
    width: 72px;
height: 28px;
background: #417ce9;
border: 2px solid #417ce9;
border-radius: 10px;
font-size: 14px;

color: #ffffff;
text-align: center;
outline: none;
}
.img-range-wrap-pagin .sml-img{
    width: 194px;
height: 269px;
border: 2px solid #417ce9;
border-radius: 10px;
position: absolute;
bottom: 50px;
overflow: hidden;
display: none;

}
.time{
    width: 208px;
    height: 100px;
    position: absolute;
    z-index: 1000;
    left: 0;
    top: 0;
    background-image: url(../images/colockbg.png);
    background-position: -150px 0;
    background-repeat: no-repeat;
    display: none;
}
.time span{
    color: #fff;
    display: block;
    float: left;
    width: 58px;
    height: 55px;
    text-align: center;
    line-height: 55px;
}
.time span:first-child{
    margin-right: 18px;
}
#login{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(216, 216, 216, 0.3);
    z-index: 1002;
    display: none;
}
.login-img-con{
    width: 420px;
height: 260px;
background: #f2f7ff;
border: 1px solid #ffffff;
border-radius: 8px;
position: absolute;
    left: calc(50% - 210px);
    top: calc(50% - 100px);
}
.login-img-con p:first-child{
    font-size: 18px;
font-family: PingFang SC, PingFang SC-Bold;
font-weight: 700;
text-align: LEFT;
color: #203b4d;
line-height: 18px;
text-align: center;
margin-top: 24px;
}
.login-img-con p:last-child{
    font-size: 14px;
font-family: Roboto, Roboto-Regular;
font-weight: 400;
text-align: LEFT;
color: #203b4d;
line-height: 14px;
text-align: center;
margin-top: 184px;
}
.end-time{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(216, 216, 216, 0.9);
    z-index: 1005;
    display: none;

}
.end-time .end-time-size{
    width: 420px;
    height: 260px;
    background: #f2f7ff;
    border: 1px solid #ffffff;
    border-radius: 8px;
    position: absolute;
    left: calc(50% - 210px);
    top: calc(50% - 100px);
    text-align: center;
    font-size: 32px;
    font-weight: bolder;
}
.end-time .end-time-size p{
    margin-top: 80px;
}
.end-time .end-time-size button{
    margin-top: 40px;
    width: 70px;
    height: 24px;
    background: #417ce9;
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    border: none;
}
.bg{
    width: 126px;
    height: 126px;
    display: block;
    border-radius: 4px;
    position: absolute;
    left: calc(50% - 63px);
    top: 67px;
    line-height: 121px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}
#login_img{
    width: 100%;
    height: 100%;
    display: none;
}
#close_login{
    position: absolute;
    left: 386px;
    top: 20px;
    font-size: 16px;
    cursor: pointer;
}
.invalid{
    width: 126px;
    height: 126px;
    left: calc(50% - 63px);
    top: calc(50% - 33px);
    background-color: rgba(255,255,255,0.9);
    position:absolute;
    text-align: center;
    display: none;

}
.invalid p{
    font-size: 14px;
    font-family: PingFang SC, PingFang SC-Medium;
    font-weight: 500;
    text-align: LEFT;
    color: #203b4d;
    line-height: 14px;
    margin-top: 36px;
    text-align: center;
}
.invalid button{
    border: none;
    background-color: #fff;
    width: 70px;
height: 24px;
background: #417ce9;
border-radius: 4px;
color: #ffffff;
font-size: 12px;
margin-top: 17px;
}
#loading{
   width: 50px;
   height: 50px;
   position: absolute;
   left: calc(50% - 25px);
   top: calc(50% - 25px);
   border-radius: 50%;
   border-top: 8px solid #0b9fff;
   border-left: 8px solid transparent;
   border-right: 8px solid transparent;
   border-bottom: 8px solid transparent;
   background-color: transparent;
   animation:rotate 1s infinite ;
   box-sizing: border-box;
}
@keyframes rotate {
    0%{
        transform: rotate(0deg);

    }
    100%{
        transform: rotate(360deg);
    }
}
#test{
    position: absolute;
    right: 50px;
    top: 20px;
    z-index: 1001;
}
